package com.yesep.learn.design.structural.proxy;

import java.util.logging.*;

public class JDKLogger implements ILogger {
    private final Logger logger;

    public JDKLogger(String name) {
        this.logger = Logger.getLogger(name);
    }

    @Override
    public void log(String message) {
        logger.log(Level.INFO, message);
    }
}